package com.emm.yixun.mobile.model;

import java.util.ArrayList;

/**
 * 
 * <p><b>Title：</b> 跟进列表</p>
 * <p><b>Description：</b> </p>
 * @author tangxin
 * @date 2016年12月7日 下午2:09:19
 */
public class GetFollowList {

	private String result;// 返回码 String(1) 返回值(0失败,1成功) N
	private String errorCode;// 错误代码 String(3) 错误代码 Y
	private String errorMsg;// 错误信息 String(200) 错误信息描述 Y
	ArrayList<FollowList> followList;// 【跟进记录list集合】

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public ArrayList<FollowList> getFollowList() {
		return followList;
	}

	public void setFollowList(ArrayList<FollowList> followList) {
		this.followList = followList;
	}

	public static class FollowList {
		private String followMode;// 跟进方式 String(4) 跟进方式 N
		private String followType;// 跟进类型 String(1) 跟进类型：1、文本；2、图片；3、语音 N

		private String followTime;// 跟进时间 String(19) 跟进时间格式：yyyy-MM-dd N

		private String voiceTime;// 录音时长

		private String voiceLocalAddr;// 录音本地路径

		private String telRecordId;// 通话记录ID String(20) 通话记录ID N
									// 业务规则：如果该字段不为空则是电话录音，半小时才能获取到内容：暂未获取到电话录音

		private String telRecordInfo;// 电话录音jason字符串 jason
										// 电话录音jason字符串返回格式：[{"recordUrl":"xxx.wav","billableSeconds":"1:30"}]

		public String getVoiceTime() {
			return voiceTime;
		}

		public String getTelRecordInfo() {
			return telRecordInfo;
		}

		public void setTelRecordInfo(String telRecordInfo) {
			this.telRecordInfo = telRecordInfo;
		}

		public String getTelRecordId() {
			return telRecordId;
		}

		public void setTelRecordId(String telRecordId) {
			this.telRecordId = telRecordId;
		}

		public void setVoiceTime(String voiceTime) {
			this.voiceTime = voiceTime;
		}

		public String getVoiceLocalAddr() {
			return voiceLocalAddr;
		}

		public void setVoiceLocalAddr(String voiceLocalAddr) {
			this.voiceLocalAddr = voiceLocalAddr;
		}

		ArrayList<ContentList> contentList;

		public ArrayList<ContentList> getContentList() {
			return contentList;
		}

		public void setContentList(ArrayList<ContentList> contentList) {
			this.contentList = contentList;
		}

		public String getFollowMode() {
			return followMode;
		}

		public void setFollowMode(String followMode) {
			this.followMode = followMode;
		}

		public String getFollowType() {
			return followType;
		}

		public void setFollowType(String followType) {
			this.followType = followType;
		}

		public String getFollowTime() {
			return followTime;
		}

		public void setFollowTime(String followTime) {
			this.followTime = followTime;
		}

		public static class ContentList {
			private String followContent;// 跟进内容 String(2000) 对应跟进类型:1 文本；2 、 3

			private String times;// 当为录音类型的时候才会使用此字段

			private String times2;

			// 为对应url N

			public String getTimes2() {
				return times2;
			}

			public void setTimes2(String times2) {
				this.times2 = times2;
			}

			public String getTimes() {
				return times;
			}

			public void setTimes(String times) {
				this.times = times;
			}

			public String getFollowContent() {
				return followContent;
			}

			public void setFollowContent(String followContent) {
				this.followContent = followContent;
			}
		}

	}
}
